<?php


namespace App;


use App\Models\Server;

interface FileManege
{
    public function check();
    public function getInfo();

    public function GetFileBody(string $path);
    public function SaveFileBody(string $path,string $data,Server $serverS=null);
    public function GetDir(string $path);
    public function GetDirList(string $path,string $search);
    public function CreateDir(string $path);
    public function CreateFile(string $path);
    public function DeleteFile(string $path);
    public function MvFile(string $path,string $nameOld,string $nameNew);



}
